import request from "@/utils/request";
import { AxiosPromise } from "axios";

interface RoleParams {
  name: string;
  url: string;
  region: string;
  current: number;
  size: number;
}
export const getCoursePages = (data: RoleParams): AxiosPromise => {
  return request({
    method: "POST",
    url: "/boss/resource/getResourcePages",
    data,
  });
};
